<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <title>授权页面</title>
    <!-- 
    <link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/base.css"/> 
     -->
  
    <script type="text/javascript">
        function goAuth() {
            window.location.href = "http://oauth.bm001.com/authorize?client_id=${appkey}&response_type=code&redirect_uri=http://zhyyou.free.ngrok.cc/qianmi/callback&state=1&view=web";
        }
    </script>
</head>
<body>
${appkey}&nbsp;
	${success_auth}
    <div class="margin-20">
        <button type="button" class="btn btn-primary" onclick="goAuth()">授权</button>
    </div>
</body>
</html>